<!DOCTYPE html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<html>
<head>
    <meta charset="utf-8">
    <title>优生活会员中心</title>
    <link rel="stylesheet" type="text/css" href="{{asset('org/home/css')}}/index.css">
    <link rel="stylesheet" type="text/css" href="{{asset('org/home/css')}}/ziy.css">
    <meta name="csrf-token" content="{{ csrf_token() }}">
    {{--<link href="https://cdn.bootcss.com/twitter-bootstrap/4.1.3/css/bootstrap-grid.min.css" rel="stylesheet">--}}
    <script src="https://cdn.bootcss.com/sweetalert/2.1.2/sweetalert.min.js"></script>
    {{--<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>--}}
    @include('../layouts._hdjs')
    @stack('css')
    @stack('js')
</head>
<body>
@include('layouts._message')
<!--头部-->

<!--头部-->
<div id="header">
    <div class="header-box">
        <h3 class="huany">优生活购物商城欢迎您的到来！</h3>
        <ul class="header-right">
            @if(!auth()->user())
                <li class="denglu">Hi~<a class="red"  href="{{route('home.login')}}">请登录!</a> <a    href="{{route('home.register')}}">[免费注册]</a></li>
            @else
                <li class="denglu">Hi~<a class="red" target="_blank" href="{{route('home.center')}}">【{{auth()->user()->name}}】</a> <a   href="{{route('home.logout')}}">【退出】</a></li>
            @endif
            <li class="shu"></li>
            <li class="denglu"><a class="ing_ps" href="{{route('home.collect.myCollect')}}">我的收藏</a></li>
        </ul>
    </div>
</div>
<div class="hongs_beij">
    <div class="beij_center">
        <div class="wode_tongc_logo">
            <a href="/" title="返回商城首页"><img src="{{asset('org/home/images')}}/logo.jpg" style="width: 250px;margin-top: 2px;float: right;"></a>
        </div>
        <div class="navitems">
            <ul>
                <li><a href="{{route('home.center')}}"><span>首页</span> </a></li>
            </ul>
        </div>
    </div>
</div>
<!---->
{{--{{$yorder}}--}}
<div class="wod_tongc_zhongx">
    <div class="beij_center">
        <div class="myGomeWeb">
            <!--侧边导航-->
            <div class="tod_tongc_zuoc">
                <div class="zuoc_toux">
                    <div class="toux_kuang">
                        <div class="userImage">
                            <div class="myGome_userPhoto">
                                <img src="{{auth()->user()->face}}">
                                <a class="edit_photo_bitton" href="{{route('home.center.edit','face')}}" title="点击更换头像">编辑</a>
                            </div>
                        </div>
                        <div class="user_name_Level">
                            <p class="user_name" title="{{auth()->user()->nickname}}">{{auth()->user()->nickname}}</p>
                        </div>
                    </div>
                    <div class="user_counts">
                        <ul>
                            <li>
                                <div class="count_item">
                                    <a href="{{route('home.order.status','未付款')}}">
                                        <i class="count_icon count_icon01"></i> 待付款
                                        <em id="waitPay">{{count($worder)}}</em>
                                    </a>
                                </div>
                            </li>
                            <li>
                                <div class="count_item">
                                    <a href="{{route('home.order.status','已付款')}}">
                                        <i class="count_icon count_icon01"></i> 已付款
                                        <em id="waitPay">{{count($yorder)}}</em>
                                    </a>
                                </div>
                            </li>
                            <li>
                                <div class="count_item">
                                    <a href="{{route('home.order.status','已发货')}}">
                                        <i class="count_icon count_icon02"></i> 待收货
                                        <em id="waitPay">{{count($dorder)}}</em>
                                    </a>
                                </div>
                            </li>
                            <li>
                                <div class="count_item">
                                    <a href="{{route('home.order.status','已完成')}}">
                                        <i class="count_icon count_icon03"></i> 待提货
                                        <em id="waitPay">{{count($corder)}}</em>
                                    </a>
                                </div>
                            </li>
                        </ul>
                    </div>
                </div>
                <div class="wod_tongc_daoh_lieb">
                    <div class="diy_top">
                        <ul>
                            <h3>订单中心</h3>
                            <li><a href="{{route('home.center.myOrder')}}">订单详情</a></li>
                        </ul>
                        <ul>
                            <h3>管理中心</h3>
                            <li><a href="{{route('home.collect.myCollect')}}">我的收藏</a></li>
                        </ul>
                    </div>
                    <div class="diy_top">
                        <ul>
                            <h3>账户设置</h3>
                            <li><a href="{{route('home.center.edit','inform')}}">基本资料</a></li>
                            <li><a href="{{route('home.center.edit','password')}}">修改密码</a></li>
                            <li><a href="{{route('home.address.index')}}">收货地址</a></li>
                        </ul>
                    </div>
                </div>
            </div>
            <!--左边内容-->

            @yield('content')

        </div>
    </div>
</div>
<!--底部-->
<div class="dib_beij">
    <div class="dib_jvz_beij">
        <div class="shangp_baoz">
            <p>本地购物&nbsp;&nbsp;看得见的商品</p>
            <p class="beng1">正品行货&nbsp;&nbsp;购物无忧</p>
            <p class="beng2">低价实惠&nbsp;&nbsp;帮你省钱</p>
            <p class="beng3">本地直发&nbsp;&nbsp;专业配送</p>
        </div>
        <div class="zhongj_youx">
            <div class="lieb_daoh">
                <div class="kef_dianh">
                    <p>客服电话</p><span>18335460350</span>
                </div>
            </div>
            <div class="lieb_daoh">
                <div class="kef_dianh kef_dianh_youx">
                    <p>意见收集邮箱</p><p>1130224187@qq.com</p>
                </div>
            </div>
        </div>
    </div>
</div>


</body>
</html>

